<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Os1: g2o::Factory Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Os1
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">OrbSlam2 documentado y modificado</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,'Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classg2o_1_1_factory.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="classg2o_1_1_factory-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">g2o::Factory Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>create vertices and edges based on TAGs in, for example, a file  
 <a href="classg2o_1_1_factory.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="factory_8h_source.html">factory.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for g2o::Factory:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classg2o_1_1_factory__coll__graph.svg" width="224" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory_1_1_creator_information.html">CreatorInformation</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa61fcb8861afb1dd4c4af5d9cc03d3ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structg2o_1_1_hyper_graph_1_1_hyper_graph_element.html">HyperGraph::HyperGraphElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#aa61fcb8861afb1dd4c4af5d9cc03d3ec">construct</a> (const std::string &amp;<a class="el" href="classg2o_1_1_factory.html#ae6b0fb89dc45ea1e506401d349c869f0">tag</a>) const</td></tr>
<tr class="memdesc:aa61fcb8861afb1dd4c4af5d9cc03d3ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">construct a graph element based on its tag  <a href="#aa61fcb8861afb1dd4c4af5d9cc03d3ec">More...</a><br /></td></tr>
<tr class="separator:aa61fcb8861afb1dd4c4af5d9cc03d3ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c3800dfa57718d2ceb4f6150611540d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structg2o_1_1_hyper_graph_1_1_hyper_graph_element.html">HyperGraph::HyperGraphElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#a8c3800dfa57718d2ceb4f6150611540d">construct</a> (const std::string &amp;<a class="el" href="classg2o_1_1_factory.html#ae6b0fb89dc45ea1e506401d349c869f0">tag</a>, const <a class="el" href="classg2o_1_1_hyper_graph.html#a7b8fda20e1b03e92aeceeac6e8218b73">HyperGraph::GraphElemBitset</a> &amp;elemsToConstruct) const</td></tr>
<tr class="memdesc:a8c3800dfa57718d2ceb4f6150611540d"><td class="mdescLeft">&#160;</td><td class="mdescRight">construct a graph element based on its tag, but only if it's type (a bitmask) matches.  <a href="#a8c3800dfa57718d2ceb4f6150611540d">More...</a><br /></td></tr>
<tr class="separator:a8c3800dfa57718d2ceb4f6150611540d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af31924e76d04bcfd77a53cec8f1b778c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#af31924e76d04bcfd77a53cec8f1b778c">fillKnownTypes</a> (std::vector&lt; std::string &gt; &amp;types) const</td></tr>
<tr class="memdesc:af31924e76d04bcfd77a53cec8f1b778c"><td class="mdescLeft">&#160;</td><td class="mdescRight">get a list of all known types  <a href="#af31924e76d04bcfd77a53cec8f1b778c">More...</a><br /></td></tr>
<tr class="separator:af31924e76d04bcfd77a53cec8f1b778c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20292a9c8417303fec92057826ba2430"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#a20292a9c8417303fec92057826ba2430">knowsTag</a> (const std::string &amp;<a class="el" href="classg2o_1_1_factory.html#ae6b0fb89dc45ea1e506401d349c869f0">tag</a>, int *elementType=0) const</td></tr>
<tr class="memdesc:a20292a9c8417303fec92057826ba2430"><td class="mdescLeft">&#160;</td><td class="mdescRight">return whether the factory knows this tag or not  <a href="#a20292a9c8417303fec92057826ba2430">More...</a><br /></td></tr>
<tr class="separator:a20292a9c8417303fec92057826ba2430"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a564b37b3ccbdd559a386b40ca16d219b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#a564b37b3ccbdd559a386b40ca16d219b">printRegisteredTypes</a> (std::ostream &amp;os, bool comment=false) const</td></tr>
<tr class="memdesc:a564b37b3ccbdd559a386b40ca16d219b"><td class="mdescLeft">&#160;</td><td class="mdescRight">print a list of the known registered types to the given stream  <a href="#a564b37b3ccbdd559a386b40ca16d219b">More...</a><br /></td></tr>
<tr class="separator:a564b37b3ccbdd559a386b40ca16d219b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba2f2e40635fd1b996981cefdb65c346"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#aba2f2e40635fd1b996981cefdb65c346">registerType</a> (const std::string &amp;<a class="el" href="classg2o_1_1_factory.html#ae6b0fb89dc45ea1e506401d349c869f0">tag</a>, <a class="el" href="classg2o_1_1_abstract_hyper_graph_element_creator.html">AbstractHyperGraphElementCreator</a> *c)</td></tr>
<tr class="memdesc:aba2f2e40635fd1b996981cefdb65c346"><td class="mdescLeft">&#160;</td><td class="mdescRight">register a tag for a specific creator  <a href="#aba2f2e40635fd1b996981cefdb65c346">More...</a><br /></td></tr>
<tr class="separator:aba2f2e40635fd1b996981cefdb65c346"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6b0fb89dc45ea1e506401d349c869f0"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#ae6b0fb89dc45ea1e506401d349c869f0">tag</a> (const <a class="el" href="structg2o_1_1_hyper_graph_1_1_hyper_graph_element.html">HyperGraph::HyperGraphElement</a> *v) const</td></tr>
<tr class="memdesc:ae6b0fb89dc45ea1e506401d349c869f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the TAG given a vertex  <a href="#ae6b0fb89dc45ea1e506401d349c869f0">More...</a><br /></td></tr>
<tr class="separator:ae6b0fb89dc45ea1e506401d349c869f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01b16c7d5a49ddab5ccd5980f76900b7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#a01b16c7d5a49ddab5ccd5980f76900b7">unregisterType</a> (const std::string &amp;<a class="el" href="classg2o_1_1_factory.html#ae6b0fb89dc45ea1e506401d349c869f0">tag</a>)</td></tr>
<tr class="memdesc:a01b16c7d5a49ddab5ccd5980f76900b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">unregister a tag for a specific creator  <a href="#a01b16c7d5a49ddab5ccd5980f76900b7">More...</a><br /></td></tr>
<tr class="separator:a01b16c7d5a49ddab5ccd5980f76900b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ab40f0aa18dabb91a35de7186ede9355a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#ab40f0aa18dabb91a35de7186ede9355a">destroy</a> ()</td></tr>
<tr class="memdesc:ab40f0aa18dabb91a35de7186ede9355a"><td class="mdescLeft">&#160;</td><td class="mdescRight">free the instance  <a href="#ab40f0aa18dabb91a35de7186ede9355a">More...</a><br /></td></tr>
<tr class="separator:ab40f0aa18dabb91a35de7186ede9355a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a1f33e017c5ad59399cef48972578ae"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classg2o_1_1_factory.html">Factory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#a8a1f33e017c5ad59399cef48972578ae">instance</a> ()</td></tr>
<tr class="memdesc:a8a1f33e017c5ad59399cef48972578ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the instance  <a href="#a8a1f33e017c5ad59399cef48972578ae">More...</a><br /></td></tr>
<tr class="separator:a8a1f33e017c5ad59399cef48972578ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr class="memitem:a639c8d850892dddc20098e9aa97ef9e8"><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; std::string, <a class="el" href="classg2o_1_1_factory_1_1_creator_information.html">CreatorInformation</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#a639c8d850892dddc20098e9aa97ef9e8">CreatorMap</a></td></tr>
<tr class="separator:a639c8d850892dddc20098e9aa97ef9e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba274179c053b3b71dcef6a20c898496"><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; std::string, std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#aba274179c053b3b71dcef6a20c898496">TagLookup</a></td></tr>
<tr class="separator:aba274179c053b3b71dcef6a20c898496"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:af8b5afc514363e6f00c61e8acd67b495"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#af8b5afc514363e6f00c61e8acd67b495">Factory</a> ()</td></tr>
<tr class="separator:af8b5afc514363e6f00c61e8acd67b495"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b7c6970f55045ee632e6276387d0223"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#a4b7c6970f55045ee632e6276387d0223">~Factory</a> ()</td></tr>
<tr class="separator:a4b7c6970f55045ee632e6276387d0223"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a38e27fb1014dfb8691f4df045ebb5130"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classg2o_1_1_factory.html#a639c8d850892dddc20098e9aa97ef9e8">CreatorMap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#a38e27fb1014dfb8691f4df045ebb5130">_creator</a></td></tr>
<tr class="memdesc:a38e27fb1014dfb8691f4df045ebb5130"><td class="mdescLeft">&#160;</td><td class="mdescRight">look-up map for the existing creators  <a href="#a38e27fb1014dfb8691f4df045ebb5130">More...</a><br /></td></tr>
<tr class="separator:a38e27fb1014dfb8691f4df045ebb5130"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93fbd79ea000ed88101c1f23b19e6e2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classg2o_1_1_factory.html#aba274179c053b3b71dcef6a20c898496">TagLookup</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#a93fbd79ea000ed88101c1f23b19e6e2a">_tagLookup</a></td></tr>
<tr class="memdesc:a93fbd79ea000ed88101c1f23b19e6e2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">reverse look-up, class name to tag  <a href="#a93fbd79ea000ed88101c1f23b19e6e2a">More...</a><br /></td></tr>
<tr class="separator:a93fbd79ea000ed88101c1f23b19e6e2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:a4eab3a865dee18a71bb73246dc3e9f4b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classg2o_1_1_factory.html">Factory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_factory.html#a4eab3a865dee18a71bb73246dc3e9f4b">factoryInstance</a> = 0</td></tr>
<tr class="separator:a4eab3a865dee18a71bb73246dc3e9f4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>create vertices and edges based on TAGs in, for example, a file </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a639c8d850892dddc20098e9aa97ef9e8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::map&lt;std::string, <a class="el" href="classg2o_1_1_factory_1_1_creator_information.html">CreatorInformation</a>*&gt; <a class="el" href="classg2o_1_1_factory.html#a639c8d850892dddc20098e9aa97ef9e8">g2o::Factory::CreatorMap</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aba274179c053b3b71dcef6a20c898496"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::map&lt;std::string, std::string&gt; <a class="el" href="classg2o_1_1_factory.html#aba274179c053b3b71dcef6a20c898496">g2o::Factory::TagLookup</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="af8b5afc514363e6f00c61e8acd67b495"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">g2o::Factory::Factory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4b7c6970f55045ee632e6276387d0223"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">g2o::Factory::~Factory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa61fcb8861afb1dd4c4af5d9cc03d3ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structg2o_1_1_hyper_graph_1_1_hyper_graph_element.html">HyperGraph::HyperGraphElement</a> * g2o::Factory::construct </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>tag</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>construct a graph element based on its tag </p>

</div>
</div>
<a id="a8c3800dfa57718d2ceb4f6150611540d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structg2o_1_1_hyper_graph_1_1_hyper_graph_element.html">HyperGraph::HyperGraphElement</a> * g2o::Factory::construct </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classg2o_1_1_hyper_graph.html#a7b8fda20e1b03e92aeceeac6e8218b73">HyperGraph::GraphElemBitset</a> &amp;&#160;</td>
          <td class="paramname"><em>elemsToConstruct</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>construct a graph element based on its tag, but only if it's type (a bitmask) matches. </p>
<p>A bitmask without any bit set will construct any item. Otherwise a bit has to be set to allow construction of a graph element. </p>

</div>
</div>
<a id="ab40f0aa18dabb91a35de7186ede9355a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::Factory::destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>free the instance </p>

</div>
</div>
<a id="af31924e76d04bcfd77a53cec8f1b778c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::Factory::fillKnownTypes </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; std::string &gt; &amp;&#160;</td>
          <td class="paramname"><em>types</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get a list of all known types </p>

</div>
</div>
<a id="a8a1f33e017c5ad59399cef48972578ae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classg2o_1_1_factory.html">Factory</a> * g2o::Factory::instance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return the instance </p>

</div>
</div>
<a id="a20292a9c8417303fec92057826ba2430"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool g2o::Factory::knowsTag </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>elementType</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>return whether the factory knows this tag or not </p>

</div>
</div>
<a id="a564b37b3ccbdd559a386b40ca16d219b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::Factory::printRegisteredTypes </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>comment</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>print a list of the known registered types to the given stream </p>

</div>
</div>
<a id="aba2f2e40635fd1b996981cefdb65c346"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::Factory::registerType </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classg2o_1_1_abstract_hyper_graph_element_creator.html">AbstractHyperGraphElementCreator</a> *&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>register a tag for a specific creator </p>

</div>
</div>
<a id="ae6b0fb89dc45ea1e506401d349c869f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string &amp; g2o::Factory::tag </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structg2o_1_1_hyper_graph_1_1_hyper_graph_element.html">HyperGraph::HyperGraphElement</a> *&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>return the TAG given a vertex </p>

</div>
</div>
<a id="a01b16c7d5a49ddab5ccd5980f76900b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::Factory::unregisterType </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>tag</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>unregister a tag for a specific creator </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a38e27fb1014dfb8691f4df045ebb5130"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classg2o_1_1_factory.html#a639c8d850892dddc20098e9aa97ef9e8">CreatorMap</a> g2o::Factory::_creator</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>look-up map for the existing creators </p>

</div>
</div>
<a id="a93fbd79ea000ed88101c1f23b19e6e2a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classg2o_1_1_factory.html#aba274179c053b3b71dcef6a20c898496">TagLookup</a> g2o::Factory::_tagLookup</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>reverse look-up, class name to tag </p>

</div>
</div>
<a id="a4eab3a865dee18a71bb73246dc3e9f4b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classg2o_1_1_factory.html">Factory</a> * g2o::Factory::factoryInstance = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/alejandro/Desarrollo eclipse/os1/Thirdparty/g2o/g2o/core/<a class="el" href="factory_8h_source.html">factory.h</a></li>
<li>/home/alejandro/Desarrollo eclipse/os1/Thirdparty/g2o/g2o/core/<a class="el" href="factory_8cpp.html">factory.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceg2o.html">g2o</a></li><li class="navelem"><a class="el" href="classg2o_1_1_factory.html">Factory</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
